#{extends 'main.html' /}
#{set title:'Anasayfa' /}



<div>
<div class="homepage-left">
<div class="box-title">
<h3>Sürücüler</h3>
</div>
<div class="journey-list">


#{if journeyDriverList.size() >= 1}

<div class="box-left">
${journeyDriverList?.get(0)?.departurestate}
</div>
<div class="box-center">
${journeyDriverList?.get(0)?.arrivestate}
</div>
<div class="box-right">
<a href="/driverjourneydetails/${journeyDriverList?.get(0)?.id}" style="color: #3B5998;">Detaylar</a>
</div>

#{/if}


#{if journeyDriverList.size() >= 2}

<div class="box-left">
${journeyDriverList?.get(1)?.departurestate}
</div>
<div class="box-center">
${journeyDriverList?.get(1)?.arrivestate}
</div>
<div class="box-right">
<a href="/driverjourneydetails/${journeyDriverList?.get(1)?.id}" style="color: #3B5998;">Detaylar</a>
</div>

#{/if}


#{if journeyDriverList.size() >= 3}

<div class="box-left">
${journeyDriverList?.get(2)?.departurestate}
</div>
<div class="box-center">
${journeyDriverList?.get(2)?.arrivestate}
</div>
<div class="box-right">
<a href="/driverjourneydetails/${journeyDriverList?.get(2)?.id}" style="color: #3B5998;">Detaylar</a>
</div>

#{/if}


#{if journeyDriverList.size() >= 4}

<div class="box-left">
${journeyDriverList?.get(3)?.departurestate}
</div>
<div class="box-center">
${journeyDriverList?.get(3)?.arrivestate}
</div>
<div class="box-right">
<a href="/driverjourneydetails/${journeyDriverList?.get(3)?.id}" style="color: #3B5998;">Detaylar</a>
</div>

#{/if}


#{if journeyDriverList.size() >= 5}

<div class="box-left">
${journeyDriverList?.get(4)?.departurestate}
</div>
<div class="box-center">
${journeyDriverList?.get(4)?.arrivestate}
</div>
<div class="box-right">
<a href="/driverjourneydetails/${journeyDriverList?.get(4)?.id}" style="color: #3B5998;">Detaylar</a>
</div>

#{/if}

#{if journeyDriverList.size() >= 6}

<div class="box-left">
${journeyDriverList?.get(5)?.departurestate}
</div>
<div class="box-center">
${journeyDriverList?.get(5)?.arrivestate}
</div>
<div class="box-right">
<a href="/driverjourneydetails/${journeyDriverList?.get(5)?.id}" style="color: #3B5998;">Detaylar</a>
</div>

#{/if}


#{if journeyDriverList.size() >= 7}

<div class="box-left">
${journeyDriverList?.get(6)?.departurestate}
</div>
<div class="box-center">
${journeyDriverList?.get(6)?.arrivestate}
</div>
<div class="box-right">
<a href="/driverjourneydetails/${journeyDriverList?.get(6)?.id}" style="color: #3B5998;">Detaylar</a>
</div>

#{/if}


#{if journeyDriverList.size() >= 8}

<div class="box-left">
${journeyDriverList?.get(7)?.departurestate}
</div>
<div class="box-center">
${journeyDriverList?.get(7)?.arrivestate}
</div>
<div class="box-right">
<a href="/driverjourneydetails/${journeyDriverList?.get(7)?.id}" style="color: #3B5998;">Detaylar</a>
</div>

#{/if}




</div>
<div class="box-search">
#{form @Search.searchdriver()}
<div class="box-search-left">
<h4>Nerden</h4>
<select name="departurestate"  style="border: 1px solid #59983B; width:100%" >
	<option value="" selected="selected">İl Seçiniz</option>
	
						  <option >Adana</option>
						   
                          <option >Adıyaman</option>
						   
                          <option >Afyon</option>
						   
                          <option >Ağrı</option>
						   
                          <option >Aksaray</option>
						   
                          <option >Amasya</option>
						   
                          <option >Ankara</option>
						   
                          <option >Antalya</option>
						   
                          <option >Ardahan</option>
						   
                          <option >Artvin</option>
						   
                          <option >Aydın</option>
						   
                          <option >Balıkesir</option>
						   
                          <option >Bartın</option>
						   
                          <option >Batman</option>
						   
                          <option >Bayburt</option>
						   
                          <option >Bilecik</option>
						   
                          <option >Bingöl</option>
						   
                          <option >Bitlis</option>
						   
                          <option >Bolu</option>
						   
                          <option >Burdur</option>
						   
                          <option >Bursa</option>
						   
                          <option >Çanakkale</option>
						   
                          <option >Çankırı</option>
						   
                          <option >Çorum</option>
						   
                          <option >Denizli</option>
						   
                          <option >Diyarbakır</option>
						   
                          <option >Düzce</option>
						   
                          <option >Edirne</option>
						   
                          <option >Elazığ</option>
						   
                          <option >Erzincan</option>
						   
                          <option >Erzurum</option>
						   
                          <option >Eskişehir</option>
						   
                          <option >Gaziantep</option>
						   
                          <option >Giresun</option>
						   
                          <option >Gümüşhane</option>
						   
                          <option >Hakkari</option>
						   
                          <option >Hatay</option>
						   
                          <option >Iğdır</option>
						   
                          <option >Isparta</option>
						   
                          <option >İçel</option>
						   
                          <option >İstanbul</option>
						   
                          <option >İzmir</option>
						   
                          <option >KahramanMaraş</option>
						   
                          <option >Karabük</option>
						   
                          <option >Karaman</option>
						   
                          <option >Kars</option>
						   
                          <option >Kastamonu</option>
						   
                          <option >Kayseri</option>
						   
                          <option >Kırıkkale</option>
						   
                          <option >Kırklareli</option>
						   
                          <option >Kırşehir</option>
						   
                          <option >Kilis</option>
						   
                          <option >Kocaeli</option>
						   
                          <option >Konya</option>
						   
                          <option >Kütahya</option>					
						   
                          <option >Malatya</option>
						   
                          <option >Manisa</option>
						   
                          <option >Mardin</option>
						   
                          <option >Muğla</option>
						   
                          <option >Muş</option>
						   
                          <option >Nevşehir</option>
						   
                          <option >Niğde</option>
						   
                          <option >Ordu</option>
						   
                          <option >Osmaniye</option>
						   
                          <option >Rize</option>
						   
                          <option >Sakarya</option>
						   
                          <option >Samsun</option>
						   
                          <option >Siirt</option>
						   
                          <option >Sinop</option>
						   
                          <option >Sivas</option>
						   
                          <option >Şanlıurfa</option>
						   
                          <option >Şırnak</option>
						   
                          <option >Tekirdağ</option>
						   
                          <option >Tokat</option>
						   
                          <option >Trabzon</option>
						   
                          <option >Tunceli</option>
						   
                          <option >Uşak</option>
						   
                          <option >Van</option>
						   
                          <option >Yalova</option>
						   
                          <option >Yozgat</option>
						   
                          <option >Zonguldak</option>
</select>
</div>
<div class="box-search-right">
<h4>Nereye</h4>
<select name="arrivestate"  style="border: 1px solid #59983B; width:100%" >
	<option value="" selected="selected">İl Seçiniz</option>
	
						  <option >Adana</option>
						   
                          <option >Adıyaman</option>
						   
                          <option >Afyon</option>
						   
                          <option >Ağrı</option>
						   
                          <option >Aksaray</option>
						   
                          <option >Amasya</option>
						   
                          <option >Ankara</option>
						   
                          <option >Antalya</option>
						   
                          <option >Ardahan</option>
						   
                          <option >Artvin</option>
						   
                          <option >Aydın</option>
						   
                          <option >Balıkesir</option>
						   
                          <option >Bartın</option>
						   
                          <option >Batman</option>
						   
                          <option >Bayburt</option>
						   
                          <option >Bilecik</option>
						   
                          <option >Bingöl</option>
						   
                          <option >Bitlis</option>
						   
                          <option >Bolu</option>
						   
                          <option >Burdur</option>
						   
                          <option >Bursa</option>
						   
                          <option >Çanakkale</option>
						   
                          <option >Çankırı</option>
						   
                          <option >Çorum</option>
						   
                          <option >Denizli</option>
						   
                          <option >Diyarbakır</option>
						   
                          <option >Düzce</option>
						   
                          <option >Edirne</option>
						   
                          <option >Elazığ</option>
						   
                          <option >Erzincan</option>
						   
                          <option >Erzurum</option>
						   
                          <option >Eskişehir</option>
						   
                          <option >Gaziantep</option>
						   
                          <option >Giresun</option>
						   
                          <option >Gümüşhane</option>
						   
                          <option >Hakkari</option>
						   
                          <option >Hatay</option>
						   
                          <option >Iğdır</option>
						   
                          <option >Isparta</option>
						   
                          <option >İçel</option>
						   
                          <option >İstanbul</option>
						   
                          <option >İzmir</option>
						   
                          <option >KahramanMaraş</option>
						   
                          <option >Karabük</option>
						   
                          <option >Karaman</option>
						   
                          <option >Kars</option>
						   
                          <option >Kastamonu</option>
						   
                          <option >Kayseri</option>
						   
                          <option >Kırıkkale</option>
						   
                          <option >Kırklareli</option>
						   
                          <option >Kırşehir</option>
						   
                          <option >Kilis</option>
						   
                          <option >Kocaeli</option>
						   
                          <option >Konya</option>
						   
                          <option >Kütahya</option>					
						   
                          <option >Malatya</option>
						   
                          <option >Manisa</option>
						   
                          <option >Mardin</option>
						   
                          <option >Muğla</option>
						   
                          <option >Muş</option>
						   
                          <option >Nevşehir</option>
						   
                          <option >Niğde</option>
						   
                          <option >Ordu</option>
						   
                          <option >Osmaniye</option>
						   
                          <option >Rize</option>
						   
                          <option >Sakarya</option>
						   
                          <option >Samsun</option>
						   
                          <option >Siirt</option>
						   
                          <option >Sinop</option>
						   
                          <option >Sivas</option>
						   
                          <option >Şanlıurfa</option>
						   
                          <option >Şırnak</option>
						   
                          <option >Tekirdağ</option>
						   
                          <option >Tokat</option>
						   
                          <option >Trabzon</option>
						   
                          <option >Tunceli</option>
						   
                          <option >Uşak</option>
						   
                          <option >Van</option>
						   
                          <option >Yalova</option>
						   
                          <option >Yozgat</option>
						   
                          <option >Zonguldak</option>
</select>
</div>

<div class="box-search-left">
<a href="@{Search.listalldriver}" style="color: #3B5998;">Tümünü Listele</a>
</div>
<div class="search-button">
<input type="submit" value="Search" style="border: 1px solid #59983B; width: 120px; height: 25px" /> 
</div>
#{/form} 
</div>
</div>




<div class="homepage-right">
<div class="box-title">
<h3>Otostopçular</h3>
</div>
<div class="journey-list">



#{if journeyHitcList.size() >= 1}

<div class="box-left">
${journeyHitcList?.get(0)?.departurestate}
</div>
<div class="box-center">
${journeyHitcList?.get(0)?.arrivestate}
</div>
<div class="box-right">
<a href="/hitcjourneydetails/${journeyHitcList?.get(0)?.id}" style="color: #3B5998;">Detaylar</a>
</div>

#{/if}



#{if journeyHitcList.size() >= 2}

<div class="box-left">
${journeyHitcList?.get(1)?.departurestate}
</div>
<div class="box-center">
${journeyHitcList?.get(1)?.arrivestate}
</div>
<div class="box-right">
<a href="/hitcjourneydetails/${journeyHitcList?.get(1)?.id}" style="color: #3B5998;">Detaylar</a>
</div>

#{/if}


#{if journeyHitcList.size() >= 3}

<div class="box-left">
${journeyHitcList?.get(2)?.departurestate}
</div>
<div class="box-center">
${journeyHitcList?.get(2)?.arrivestate}
</div>
<div class="box-right">
<a href="/hitcjourneydetails/${journeyHitcList?.get(2)?.id}" style="color: #3B5998;">Detaylar</a>
</div>

#{/if}


#{if journeyHitcList.size() >= 4}

<div class="box-left">
${journeyHitcList?.get(3)?.departurestate}
</div>
<div class="box-center">
${journeyHitcList?.get(3)?.arrivestate}
</div>
<div class="box-right">
<a href="/hitcjourneydetails/${journeyHitcList?.get(3)?.id}" style="color: #3B5998;">Detaylar</a>
</div>

#{/if}


#{if journeyHitcList.size() >= 5}

<div class="box-left">
${journeyHitcList?.get(4)?.departurestate}
</div>
<div class="box-center">
${journeyHitcList?.get(4)?.arrivestate}
</div>
<div class="box-right">
<a href="/hitcjourneydetails/${journeyHitcList?.get(4)?.id}" style="color: #3B5998;">Detaylar</a>
</div>

#{/if}


#{if journeyHitcList.size() >= 6}

<div class="box-left">
${journeyHitcList?.get(5)?.departurestate}
</div>
<div class="box-center">
${journeyHitcList?.get(5)?.arrivestate}
</div>
<div class="box-right">
<a href="/hitcjourneydetails/${journeyHitcList?.get(5)?.id}" style="color: #3B5998;">Detaylar</a>
</div>

#{/if}

#{if journeyHitcList.size() >= 7}

<div class="box-left">
${journeyHitcList?.get(6)?.departurestate}
</div>
<div class="box-center">
${journeyHitcList?.get(6)?.arrivestate}
</div>
<div class="box-right">
<a href="/hitcjourneydetails/${journeyHitcList?.get(6)?.id}" style="color: #3B5998;">Detaylar</a>
</div>

#{/if}

#{if journeyHitcList.size() >= 8}

<div class="box-left">
${journeyHitcList?.get(7)?.departurestate}
</div>
<div class="box-center">
${journeyHitcList?.get(7)?.arrivestate}
</div>
<div class="box-right">
<a href="/hitcjourneydetails/${journeyHitcList?.get(7)?.id}" style="color: #3B5998;">Detaylar</a>
</div>

#{/if}



</div>
<div class="box-search">
#{form @Search.searchhitchhiker()}
<div class="box-search-left">
<h4>Nerden</h4>
<select name="departurestate"  style="border: 1px solid #59983B; width:100%" >
	<option value="" selected="selected">İl Seçiniz</option>
	
						  <option >Adana</option>
						   
                          <option >Adıyaman</option>
						   
                          <option >Afyon</option>
						   
                          <option >Ağrı</option>
						   
                          <option >Aksaray</option>
						   
                          <option >Amasya</option>
						   
                          <option >Ankara</option>
						   
                          <option >Antalya</option>
						   
                          <option >Ardahan</option>
						   
                          <option >Artvin</option>
						   
                          <option >Aydın</option>
						   
                          <option >Balıkesir</option>
						   
                          <option >Bartın</option>
						   
                          <option >Batman</option>
						   
                          <option >Bayburt</option>
						   
                          <option >Bilecik</option>
						   
                          <option >Bingöl</option>
						   
                          <option >Bitlis</option>
						   
                          <option >Bolu</option>
						   
                          <option >Burdur</option>
						   
                          <option >Bursa</option>
						   
                          <option >Çanakkale</option>
						   
                          <option >Çankırı</option>
						   
                          <option >Çorum</option>
						   
                          <option >Denizli</option>
						   
                          <option >Diyarbakır</option>
						   
                          <option >Düzce</option>
						   
                          <option >Edirne</option>
						   
                          <option >Elazığ</option>
						   
                          <option >Erzincan</option>
						   
                          <option >Erzurum</option>
						   
                          <option >Eskişehir</option>
						   
                          <option >Gaziantep</option>
						   
                          <option >Giresun</option>
						   
                          <option >Gümüşhane</option>
						   
                          <option >Hakkari</option>
						   
                          <option >Hatay</option>
						   
                          <option >Iğdır</option>
						   
                          <option >Isparta</option>
						   
                          <option >İçel</option>
						   
                          <option >İstanbul</option>
						   
                          <option >İzmir</option>
						   
                          <option >KahramanMaraş</option>
						   
                          <option >Karabük</option>
						   
                          <option >Karaman</option>
						   
                          <option >Kars</option>
						   
                          <option >Kastamonu</option>
						   
                          <option >Kayseri</option>
						   
                          <option >Kırıkkale</option>
						   
                          <option >Kırklareli</option>
						   
                          <option >Kırşehir</option>
						   
                          <option >Kilis</option>
						   
                          <option >Kocaeli</option>
						   
                          <option >Konya</option>
						   
                          <option >Kütahya</option>					
						   
                          <option >Malatya</option>
						   
                          <option >Manisa</option>
						   
                          <option >Mardin</option>
						   
                          <option >Muğla</option>
						   
                          <option >Muş</option>
						   
                          <option >Nevşehir</option>
						   
                          <option >Niğde</option>
						   
                          <option >Ordu</option>
						   
                          <option >Osmaniye</option>
						   
                          <option >Rize</option>
						   
                          <option >Sakarya</option>
						   
                          <option >Samsun</option>
						   
                          <option >Siirt</option>
						   
                          <option >Sinop</option>
						   
                          <option >Sivas</option>
						   
                          <option >Şanlıurfa</option>
						   
                          <option >Şırnak</option>
						   
                          <option >Tekirdağ</option>
						   
                          <option >Tokat</option>
						   
                          <option >Trabzon</option>
						   
                          <option >Tunceli</option>
						   
                          <option >Uşak</option>
						   
                          <option >Van</option>
						   
                          <option >Yalova</option>
						   
                          <option >Yozgat</option>
						   
                          <option >Zonguldak</option>
</select>
</div>
<div class="box-search-right">
<h4>Nereye</h4>
<select name="arrivestate"  style="border: 1px solid #59983B; width:100%" >
	<option value="" selected="selected">İl Seçiniz</option>
	
						  <option >Adana</option>
						   
                          <option >Adıyaman</option>
						   
                          <option >Afyon</option>
						   
                          <option >Ağrı</option>
						   
                          <option >Aksaray</option>
						   
                          <option >Amasya</option>
						   
                          <option >Ankara</option>
						   
                          <option >Antalya</option>
						   
                          <option >Ardahan</option>
						   
                          <option >Artvin</option>
						   
                          <option >Aydın</option>
						   
                          <option >Balıkesir</option>
						   
                          <option >Bartın</option>
						   
                          <option >Batman</option>
						   
                          <option >Bayburt</option>
						   
                          <option >Bilecik</option>
						   
                          <option >Bingöl</option>
						   
                          <option >Bitlis</option>
						   
                          <option >Bolu</option>
						   
                          <option >Burdur</option>
						   
                          <option >Bursa</option>
						   
                          <option >Çanakkale</option>
						   
                          <option >Çankırı</option>
						   
                          <option >Çorum</option>
						   
                          <option >Denizli</option>
						   
                          <option >Diyarbakır</option>
						   
                          <option >Düzce</option>
						   
                          <option >Edirne</option>
						   
                          <option >Elazığ</option>
						   
                          <option >Erzincan</option>
						   
                          <option >Erzurum</option>
						   
                          <option >Eskişehir</option>
						   
                          <option >Gaziantep</option>
						   
                          <option >Giresun</option>
						   
                          <option >Gümüşhane</option>
						   
                          <option >Hakkari</option>
						   
                          <option >Hatay</option>
						   
                          <option >Iğdır</option>
						   
                          <option >Isparta</option>
						   
                          <option >İçel</option>
						   
                          <option >İstanbul</option>
						   
                          <option >İzmir</option>
						   
                          <option >KahramanMaraş</option>
						   
                          <option >Karabük</option>
						   
                          <option >Karaman</option>
						   
                          <option >Kars</option>
						   
                          <option >Kastamonu</option>
						   
                          <option >Kayseri</option>
						   
                          <option >Kırıkkale</option>
						   
                          <option >Kırklareli</option>
						   
                          <option >Kırşehir</option>
						   
                          <option >Kilis</option>
						   
                          <option >Kocaeli</option>
						   
                          <option >Konya</option>
						   
                          <option >Kütahya</option>					
						   
                          <option >Malatya</option>
						   
                          <option >Manisa</option>
						   
                          <option >Mardin</option>
						   
                          <option >Muğla</option>
						   
                          <option >Muş</option>
						   
                          <option >Nevşehir</option>
						   
                          <option >Niğde</option>
						   
                          <option >Ordu</option>
						   
                          <option >Osmaniye</option>
						   
                          <option >Rize</option>
						   
                          <option >Sakarya</option>
						   
                          <option >Samsun</option>
						   
                          <option >Siirt</option>
						   
                          <option >Sinop</option>
						   
                          <option >Sivas</option>
						   
                          <option >Şanlıurfa</option>
						   
                          <option >Şırnak</option>
						   
                          <option >Tekirdağ</option>
						   
                          <option >Tokat</option>
						   
                          <option >Trabzon</option>
						   
                          <option >Tunceli</option>
						   
                          <option >Uşak</option>
						   
                          <option >Van</option>
						   
                          <option >Yalova</option>
						   
                          <option >Yozgat</option>
						   
                          <option >Zonguldak</option>
</select>
</div>


<div class="box-search-left">
<a href="@{Search.listallhitchhiker}" style="color: #3B5998;">Tümünü Listele</a>
</div>
<div class="search-button">
<input type="submit" value="Search" style="border: 1px solid #59983B; width: 120px; height: 25px" /> 
</div>
#{/form} 
</div>
</div>

</div>



